package com.eshop.eshopcache.spring;

import org.springframework.context.ApplicationContext;

/**
 * @author: Xukai
 * @description: spring上下文
 * @createDate: 2018/7/31 09:39
 * @modified By:
 */
public class SpringContext {

    private static ApplicationContext applicationContext;

    public static ApplicationContext getApplicationContext() {
        return applicationContext;
    }

    public static void setApplicationContext(ApplicationContext applicationContext) {
        SpringContext.applicationContext = applicationContext;
    }
}
